<?php

/**
 * Description of Cms
 *
 * @author FFOZEU
 */
namespace Applications\Modules\Cms\Models;

if( !defined('IN') ) die('Hacking Attempt');

use Library\Record;

class Cms extends Record{
    //put your code here
    protected $id;
    protected $titre;
    protected $texte;
    protected $date_insere;
    protected $date_maj;

        //SETTERS
    public function setId($id){
        $this->id= $id;
    }
    
    public function setTitre($titre){
        $this->titre= $titre;
    }
    
    public function setTexte($texte){
        $this->texte= $texte;
    }
    
    public function setDate_insere($date_insere){
        $this->date_insere= $date_insere;
    }
    
    public function setDate_maj($date_maj){
        $this->date_maj= $date_maj;
    }
    //GETTERS
    
    public function getId(){
        return $this->id;
    }
    
    public function getTitre(){
        return $this->titre;
    }
    
    public function getTexte(){
        return $this->texte;
    }
    public function getDate_insere(){
        return $this->date_insere;
    }
    
    public function getDate_maj(){
        return $this->date_maj;
    }
}

?>
